﻿using mozhi.smarterp.AuthorCenter.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.Identity;

namespace mozhi.smarterp.AuthorCenter.Roles.Repositories
{
    public interface ICustomIdentityRoleRepository : IIdentityRoleRepository
    {
        Task<List<IdentityRole>> GetListAsync(string sorting = null, int maxResultCount = int.MaxValue, int skipCount = 0, string filter = null,
            bool includeDetails = false, List<RoleType> types = null, CancellationToken cancellationToken = default(CancellationToken));

        Task<long> GetCountAsync(string filter = null, List<RoleType> types = null, CancellationToken cancellationToken = default(CancellationToken));
    }
}
